package com.example.xm.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Commodity {
    private String id;
    private String name;
    private String price;
    private String kg;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    private String xx;
    private String img1;
    private Integer num;
    private String img2;
    private String img3;
    private String img4;
    private Image image;
    private Kg k;
    private Mail mail;
    private Pl pl;
}
